package com.contain.auth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: tianchao
 * @Date: 2021/7/2 11:24
 * @Description:
 */
@Controller
public class HelloController {

    @ResponseBody
    @GetMapping(value = "/hello")
    public String hello(@RequestParam String num){
        System.out.println(num);
        int i = 1/0;
        return "hello";
    }
}
